<html>
<head><meta charset="utf-8"><title>hypothetical WG-rustc-memory-usage · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html">hypothetical WG-rustc-memory-usage</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="163145004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163145004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163145004">(Apr 11 2019 at 23:06)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I am monitoring Zulip, but my timezone is terrible for these meetings.<br>
I am open to the idea of WG-rustc-memory-usage, but I have questions. Who would be in it? What would it involve? Etc.</p>



<a name="163173971"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163173971" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163173971">(Apr 12 2019 at 09:33)</a>:</h4>
<p>I suspect its more important who would <em>lead</em> a WG than to worry about the overall membership</p>



<a name="163173988"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163173988" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163173988">(Apr 12 2019 at 09:34)</a>:</h4>
<p>I was musing about whether I should offer to lead a WG-rustc-memusage; now that NLL is wrapping up, its not totally absurd for me to try to take on something like that.</p>



<a name="163174249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174249">(Apr 12 2019 at 09:37)</a>:</h4>
<p>In terms of what it would involve: the main tasks I could imagine are 1. investigating and documenting the best tools on each platform for measuring mem usage (<span class="user-mention" data-user-id="120989">@nnethercote</span> has mentioned DHAT, a valgrind tool; I don't know if that works equally well on all platforms)</p>



<a name="163174324"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174324" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174324">(Apr 12 2019 at 09:38)</a>:</h4>
<p>2. identifying potential changes to either the <code>rustc</code> source or to <code>libstd</code> for reducing mem usage, trying them out, and documenting what effect they had</p>



<a name="163174375"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174375" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174375">(Apr 12 2019 at 09:39)</a>:</h4>
<blockquote>
<p>In terms of what it would involve: the main tasks I could imagine are 1. investigating and documenting the best tools on each platform for measuring mem usage (<span class="user-mention silent" data-user-id="120989">nnethercote</span> has mentioned DHAT, a valgrind tool; I don't know if that works equally well on all platforms)</p>
</blockquote>
<p>(valgrind not working on macos)</p>



<a name="163174458"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174458" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174458">(Apr 12 2019 at 09:40)</a>:</h4>
<p>(BTW this topic was originally part of the <a href="#narrow/stream/131828-t-compiler/topic/weekly.20meeting.202019-04-11.20.2354818/near/163109330" title="#narrow/stream/131828-t-compiler/topic/weekly.20meeting.202019-04-11.20.2354818/near/163109330">meeting topic</a>, but I moved it to its own topic, for anyone who's trying to understand <span class="user-mention" data-user-id="120989">@nnethercote</span> 's first message.)</p>



<a name="163174516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174516">(Apr 12 2019 at 09:41)</a>:</h4>
<p>I do admit that there is a question about whether the intention of such a WG would be a short-term goal to hit a specific target in reduction of memory usage</p>



<a name="163174527"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174527" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174527">(Apr 12 2019 at 09:41)</a>:</h4>
<p>or if it would be a longer-term task of trying to minimize mem usage</p>



<a name="163174574"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174574" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174574">(Apr 12 2019 at 09:42)</a>:</h4>
<p>the latter does not sound terribly fun</p>



<a name="163174591"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174591" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174591">(Apr 12 2019 at 09:42)</a>:</h4>
<p>I think its easier to get people excited if you have a concrete goal and a deadline you're trying to hit to reach that goal</p>



<a name="163174619"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163174619" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163174619">(Apr 12 2019 at 09:42)</a>:</h4>
<p>but of course that requires choosing a goal that is actually realistic.</p>



<a name="163181921"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/hypothetical%20WG-rustc-memory-usage/near/163181921" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/hypothetical.20WG-rustc-memory-usage.html#163181921">(Apr 12 2019 at 11:51)</a>:</h4>
<p>Oh BTW I had forgotten about this label: <a href="https://github.com/rust-lang/rust/labels/I-compilemem" target="_blank" title="https://github.com/rust-lang/rust/labels/I-compilemem">https://github.com/rust-lang/rust/labels/I-compilemem</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>